package com.book.notice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.book.notice.entity.Notice;

import java.util.List;

public interface NoticeService extends IService<Notice> {
    /*查询所有*/
    List<Notice> findNotice(Notice notice);

    /*根据id查询*/
    List<Notice> getNoticeById(String[] ids);

    /*添加*/
    void addNotice(Notice notice);

    /*修改*/
    void update(Notice notice);
}
